import type { LoginResult } from '@/types/member'
import { http } from '@/utils/http'

//登录
export const loginWxMinAPI = (phoneNumber: string) =>
  http<LoginResult>({
    url: '/login/wxMin/simple',
    method: 'POST',
    data: { phoneNumber },
  })
